package com.hexacta.hrs.sandbox.pr.data;

import java.util.List;

public interface Dao {
	public Long add(PersistentObject po);
	public void remove(PersistentObject po);
	public List<? extends PersistentObject> findById(Class<? extends PersistentObject> po, Long id);
	public List<? extends PersistentObject> findByName(Class<? extends PersistentObject> po, String name);
	public List<? extends PersistentObject> listAll(Class<? extends PersistentObject> po);
	public void update(PersistentObject po);
}